package com.taoxi.shops.domain;

import com.taoxi.common.annotation.Excel;
import com.taoxi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 批发商管理对象 wholesaler
 *
 * @author ruoyi
 * @date 2024-10-24
 */
public class Wholesaler extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 批发商id
     */
    private Long id;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long userId;

    /**
     * 店铺名
     */
    @Excel(name = "店铺名")
    private String wholesalername;

    /**
     * 开店人姓名
     */
    @Excel(name = "开店人姓名")
    private String keepername;

    /**
     * 开店人证件
     */
    @Excel(name = "开店人证件")
    private String keeperIDcard;

    /**
     * 店铺热线
     */
    @Excel(name = "店铺热线")
    private String phone;

    /**
     * 营业执照
     */
    @Excel(name = "营业执照")
    private String licence;

    /**
     * 审核状态
     */
    @Excel(name = "审核状态")
    private String status;
    private Long totalSales;

    public Long getTotalSales() {
        return totalSales;
    }

    public void setTotalSales(Long totalSales) {
        this.totalSales = totalSales;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getWholesalername() {
        return wholesalername;
    }

    public void setWholesalername(String wholesalername) {
        this.wholesalername = wholesalername;
    }

    public String getKeepername() {
        return keepername;
    }

    public void setKeepername(String keepername) {
        this.keepername = keepername;
    }

    public String getKeeperIDcard() {
        return keeperIDcard;
    }

    public void setKeeperIDcard(String keeperIDcard) {
        this.keeperIDcard = keeperIDcard;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getLicence() {
        return licence;
    }

    public void setLicence(String licence) {
        this.licence = licence;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("wholesalername", getWholesalername())
                .append("keepername", getKeepername())
                .append("keeperIDcard", getKeeperIDcard())
                .append("phone", getPhone())
                .append("licence", getLicence())
                .append("status", getStatus())
                .append("totalSales", getTotalSales())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
